<?php

include "conecta.php";

$texto=$_GET["texto"];

$sqlCommand = "SELECT * FROM usuario where nick='".$texto."' or email='".$texto."'";
$query = mysqli_query($conect, $sqlCommand);
$texto = "nada";
while ($row = mysqli_fetch_array($query)){
      $texto = $row["_id"].";".$row["nick"].";".$row["email"].";";
}
echo $texto;


?>


